www.mxdraw.com
内容索引主面
前一个向上下一个
IMxDrawHatch::GetPolylines 方法

返回填充边界的,多义线定义数据

IDL
[helpstring("method GetPolylines")]
HRESULT GetPolylines([out,retval] IMxDrawResbuf** pData);

例如: C# 从文件加载图案

       MxDrawResbuf ret = hatch.GetPolylines();
     if(ret.Count != 0)
     {

         MxDrawPolyline pl   =  (MxDrawPolyline)ret.AtObject(0);
         MxDrawPoint  pt = pl.GetPointAt(0);
         MessageBox.Show(pt.x.ToString() );
         MessageBox.Show(pt.y.ToString() );
     }
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!